﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;

namespace Sustainalytics.Entities
{
    public class GovernanceCompanyProfile : IEntity
    {
        public string AnalystView { get; set; } // fost Description

        public string CompanyName { get; set; }

        public string CompanyNameSafeUrl { get; set; }

        public DateTime CreatedDate { get; set; }

        public string Domicile { get; set; }

        public int? Employees { get; set; }

        public bool FullProfile { get; set; }

        public Guid Id { get; set; } // actually the id of the company (a profile is unique per company)

        public string Industry { get; set; }

        public List<GovernanceInsight> Insights { get; set; }

        public bool IsValidReport { get; set; }

        public double MarketCapitalization { get; set; }

        [BsonRepresentation(BsonType.String)]
        public OutlookType? Outlook { get; set; }

        public DateTime PublicationDate { get; set; }

        public string RegionCode { get; set; }

        public Guid RegionId { get; set; }

        public string RegionName { get; set; }

        public string Ticker { get; set; }
    }
}